using System;
using System.Data;
using System.Data.SqlTypes;
using System.Data.SqlClient;

namespace DataEntity
{
	public class T_Report_Change : DBInteractionBase
	{
		#region Class Member Declarations
			private SqlDateTime		_report_Change_ExchangeDate, _report_Change_ReviseDate;
			private SqlInt32		_report_Plan_Audit, _report_Change_ExchangeTypeID;
			private SqlString		_report_Change_ReviseClient, _report_Change_Other, _report_Change_UpdateReason, _report_Change_Update, _report_Change_Client, _report_Change_Reason, _report_Change_Building, _report_Change_ReportNO, _report_Change_ReviseAddress, _report_Change_Address;
			private SqlGuid			_report_Change_ID,_report_Change_ProjectID;
		#endregion



		#region Class Property Declarations
		public SqlGuid Report_Change_ID
		{
			get
			{
				return _report_Change_ID;
			}
			set
			{
				_report_Change_ID = value;
			}
		}

        public SqlGuid Report_Change_ProjectID
        {
            get
            {
                return _report_Change_ProjectID;
            }
            set
            {
                _report_Change_ProjectID = value;
            }
        }


		public SqlInt32 Report_Change_ExchangeTypeID
		{
			get
			{
				return _report_Change_ExchangeTypeID;
			}
			set
			{
				SqlInt32 report_Change_ExchangeTypeIDTmp = (SqlInt32)value;
				if(report_Change_ExchangeTypeIDTmp.IsNull)
				{
					//throw new ArgumentOutOfRangeException("Report_Change_ExchangeTypeID", "Report_Change_ExchangeTypeID can't be NULL");
				}
				_report_Change_ExchangeTypeID = value;
			}
		}


		public SqlString Report_Change_Building
		{
			get
			{
				return _report_Change_Building;
			}
			set
			{
				SqlString report_Change_BuildingTmp = (SqlString)value;
				if(report_Change_BuildingTmp.IsNull)
				{
					//throw new ArgumentOutOfRangeException("Report_Change_Building", "Report_Change_Building can't be NULL");
				}
				_report_Change_Building = value;
			}
		}


		public SqlString Report_Change_Reason
		{
			get
			{
				return _report_Change_Reason;
			}
			set
			{
				SqlString report_Change_ReasonTmp = (SqlString)value;
				if(report_Change_ReasonTmp.IsNull)
				{
					//throw new ArgumentOutOfRangeException("Report_Change_Reason", "Report_Change_Reason can't be NULL");
				}
				_report_Change_Reason = value;
			}
		}


		public SqlDateTime Report_Change_ReviseDate
		{
			get
			{
				return _report_Change_ReviseDate;
			}
			set
			{
				SqlDateTime report_Change_ReviseDateTmp = (SqlDateTime)value;
				if(report_Change_ReviseDateTmp.IsNull)
				{
					//throw new ArgumentOutOfRangeException("Report_Change_ReviseDate", "Report_Change_ReviseDate can't be NULL");
				}
				_report_Change_ReviseDate = value;
			}
		}


		public SqlString Report_Change_ReportNO
		{
			get
			{
				return _report_Change_ReportNO;
			}
			set
			{
				SqlString report_Change_ReportNOTmp = (SqlString)value;
				if(report_Change_ReportNOTmp.IsNull)
				{
					//throw new ArgumentOutOfRangeException("Report_Change_ReportNO", "Report_Change_ReportNO can't be NULL");
				}
				_report_Change_ReportNO = value;
			}
		}


		public SqlString Report_Change_Address
		{
			get
			{
				return _report_Change_Address;
			}
			set
			{
				SqlString report_Change_AddressTmp = (SqlString)value;
				if(report_Change_AddressTmp.IsNull)
				{
					//throw new ArgumentOutOfRangeException("Report_Change_Address", "Report_Change_Address can't be NULL");
				}
				_report_Change_Address = value;
			}
		}


		public SqlString Report_Change_ReviseAddress
		{
			get
			{
				return _report_Change_ReviseAddress;
			}
			set
			{
				SqlString report_Change_ReviseAddressTmp = (SqlString)value;
				if(report_Change_ReviseAddressTmp.IsNull)
				{
					//throw new ArgumentOutOfRangeException("Report_Change_ReviseAddress", "Report_Change_ReviseAddress can't be NULL");
				}
				_report_Change_ReviseAddress = value;
			}
		}


		public SqlString Report_Change_Client
		{
			get
			{
				return _report_Change_Client;
			}
			set
			{
				SqlString report_Change_ClientTmp = (SqlString)value;
				if(report_Change_ClientTmp.IsNull)
				{
					//throw new ArgumentOutOfRangeException("Report_Change_Client", "Report_Change_Client can't be NULL");
				}
				_report_Change_Client = value;
			}
		}


		public SqlString Report_Change_ReviseClient
		{
			get
			{
				return _report_Change_ReviseClient;
			}
			set
			{
				SqlString report_Change_ReviseClientTmp = (SqlString)value;
				if(report_Change_ReviseClientTmp.IsNull)
				{
					//throw new ArgumentOutOfRangeException("Report_Change_ReviseClient", "Report_Change_ReviseClient can't be NULL");
				}
				_report_Change_ReviseClient = value;
			}
		}


		public SqlString Report_Change_Other
		{
			get
			{
				return _report_Change_Other;
			}
			set
			{
				SqlString report_Change_OtherTmp = (SqlString)value;
				if(report_Change_OtherTmp.IsNull)
				{
					//throw new ArgumentOutOfRangeException("Report_Change_Other", "Report_Change_Other can't be NULL");
				}
				_report_Change_Other = value;
			}
		}


		public SqlDateTime Report_Change_ExchangeDate
		{
			get
			{
				return _report_Change_ExchangeDate;
			}
			set
			{
				SqlDateTime report_Change_ExchangeDateTmp = (SqlDateTime)value;
				if(report_Change_ExchangeDateTmp.IsNull)
				{
					//throw new ArgumentOutOfRangeException("Report_Change_ExchangeDate", "Report_Change_ExchangeDate can't be NULL");
				}
				_report_Change_ExchangeDate = value;
			}
		}


		public SqlString Report_Change_Update
		{
			get
			{
				return _report_Change_Update;
			}
			set
			{
				SqlString report_Change_UpdateTmp = (SqlString)value;
				if(report_Change_UpdateTmp.IsNull)
				{
					//throw new ArgumentOutOfRangeException("Report_Change_Update", "Report_Change_Update can't be NULL");
				}
				_report_Change_Update = value;
			}
		}


		public SqlString Report_Change_UpdateReason
		{
			get
			{
				return _report_Change_UpdateReason;
			}
			set
			{
				SqlString report_Change_UpdateReasonTmp = (SqlString)value;
				if(report_Change_UpdateReasonTmp.IsNull)
				{
					//throw new ArgumentOutOfRangeException("Report_Change_UpdateReason", "Report_Change_UpdateReason can't be NULL");
				}
				_report_Change_UpdateReason = value;
			}
		}


		public SqlInt32 Report_Plan_Audit
		{
			get
			{
				return _report_Plan_Audit;
			}
			set
			{
				SqlInt32 report_Plan_AuditTmp = (SqlInt32)value;
				if(report_Plan_AuditTmp.IsNull)
				{
					//throw new ArgumentOutOfRangeException("Report_Plan_Audit", "Report_Plan_Audit can't be NULL");
				}
				_report_Plan_Audit = value;
			}
		}
		#endregion
	}
}
